﻿package  
{
	
	import flash.display.*;
	import flash.events.*;
	

	
	public class Avarta extends MovieClip {
		
		// Constants:
		// Public Properties:
		// Private Properties:
		// UI Elements:
		

		
		// Initialization:
		public function Avarta() {
			configUI();
		}

		// Public Methods:
		public function onActionHandler(actionEvent:SimLifeEvents)
		{
			trace("action =",actionEvent.action);
			
			if(actionEvent.action == "START")
			{
				
			}
		}
		
		public function onAvartaClick(mouseEvent:MouseEvent)
		{
			var target:Object = mouseEvent.currentTarget;
			target.gotoAndStop(2);
		}
		
		public function onAvartaMove(simlfeEvent:SimLifeEvents)
		{
			trace("enter events trigger");
			this.x = this.x + 2;
		}
		// Protected Methods:
		// Private Methods:
		protected function configUI():void { }
	}
	
}